home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d21 / ballpt.arc / BALLPTMS.PAT next >
Text File  |  1991-10-15  |  5KB  |  127 lines

  1.                    Quarterdeck Technical Note
  2.  
  3.      Patching DESQview to support the Microsoft Ballpoint Mouse 
  4. with the Microsoft mouse driver 8.00 (and above).  This patch 
  5. works with DESQview 2.24 and above.     
  6.  
  7.       Background:  When attached to a mouse port, the Microsoft 
  8. Ballpoint Mouse identifies itself as device type 2 when queried 
  9. with INT 15 function C204. Before the Ballpoint Mouse, all mice 
  10. identified themselves as device type 0 when queried with this 
  11. call.  DESQview 2.41 (and earlier versions) handles this call 
  12. instead of the system BIOS, and routinely returns device type 0. 
  13. This causes the Microsoft mouse driver 8.00 to believe that a 
  14. Ballpoint Mouse is not attached to the mouse port when DESQview 
  15. is running.  Two symptoms of this condition: the COMPASS.EXE 
  16. configuration program that ships with the Ballpoint Mouse refuses 
  17. to run inside DESQview, posting an error message that a Ballpoint 
  18. Mouse is not attached to the mouse port; and the DESQview diamond-
  19. shaped mouse cursor persistently jumps toward the left of the 
  20. screen when moved.
  21.  
  22.      This patch causes DESQview to support the Ballpoint mouse's 
  23. response to this call. If you have a Ballpoint mouse hooked to 
  24. your mouse port and the mouse cursor is behaving erratically 
  25. inside of DESQview, or if COMPASS.EXE fails to run inside 
  26. DESQview, then this patch may solve the problem.  This patch is 
  27. unnecessary if the Ballpoint mouse is connected to a serial port.
  28.  
  29.      Drawbacks:  This patch will cause DESQview to stop working 
  30. with port mice OTHER THAN the Ballpoint mouse if used with MS 
  31. driver 8.00 or later.  It will not affect the way non-port mice 
  32. work in DESQview.
  33.  
  34.        -------------------------------------------------
  35.  
  36.      1)  Make a copy of the DV.EXE file in your DV directory.  We 
  37. are about to alter your current copy of DV.EXE; the copy you make 
  38. will serve as a backup in case this operation fails.
  39.  
  40.           COPY C:\DV\DV.EXE C:\DV\DVOLD.EXE
  41.  
  42.      (If your DV.EXE is not located in the DV directory of the C: 
  43. drive, change the path accordingly.)
  44.  
  45.      2)  Rename DV.EXE to X:
  46.                 
  47.                REN C:\DV\DV.EXE X
  48.  
  49.      3)  Go to the DOS directory on the hard disk and type:
  50.  
  51.                DEBUG C:\DV\X
  52.  
  53.      (If your DV.EXE is not located in the QEMM directory of the 
  54. C: drive, change the path accordingly.)
  55.  
  56.      Hit the Enter key; you should the the DEBUG prompt, which is 
  57. a hyphen.
  58.  
  59.      4)  At the DEBUG prompt, type:
  60.  
  61.                R
  62.  
  63. then type the Enter key; the screen will now display something 
  64. like:
  65.  
  66. AX=0000  BX=0002  CX=0E21  DX=0000  SP=FFEE  BP=0000  SI=0000  DI=0000
  67. DS=23BE  ES=23BE  SS=23BE  CS=23BE  IP=0100   NV UP EI PL NZ NA PO NC
  68. 23BE:0100 4D            DEC     BP
  69. ^^^^
  70.  
  71. The portion you are interested in is the number in the far left 
  72. of the bottom line.  Add 1000 to this number, that is, increase 
  73. the leftmost digit by one.  In this case the calculation is:  
  74. 23BE + 1000 = 33BE.
  75.  
  76.      5)  At the DEBUG prompt, type:
  77.  
  78.                S XXXX:0  L FFFF 32 FF F9 C3
  79.  
  80. where XXXX is the number you calculated in step 4, then hit the 
  81. Enter key.  In the above example you would use 33BE instead of 
  82. XXXX.  This will return an address:
  83.  
  84.                YYYY:ZZZZ                         
  85.      
  86.      6)  At the DEBUG prompt again, use the segment address and 
  87. offset that was just returned to give the DEBUG command:
  88.  
  89.                E YYYY:ZZZZ B7 02 
  90.    
  91.      The address that DEBUG returned in step 5 should be used in 
  92. place of the address YYYY:ZZZZ, which we use as an example.  Hit 
  93. the Enter key after the command; the DEBUG prompt should return 
  94. in a moment.
  95.  
  96.      7)  At the DEBUG prompt, type:
  97.  
  98.                W
  99.  
  100.      Hit the Enter key; DEBUG will announce that it is writing a 
  101. certain number of bytes, then it will return the DEBUG prompt.
  102.  
  103.      8)  At the DEBUG prompt, type:
  104.  
  105.                Q
  106.  
  107.      Hit the Enter key to exit DEBUG and return to DOS.
  108.  
  109.      9)   Rename X to DV.EXE:
  110.  
  111.                REN C:\DV\X C:\DV\DV.EXE
  112.  
  113.        --------------------------------------------------
  114.  
  115.      If the system fails after you perform this patch, copy the 
  116. backup of DV.EXE that you made back to its original name.  
  117.  
  118.            COPY C:\DV\DVOLD.EXE C:\DV\DV.EXE
  119.  
  120.      (If your DV.EXE is not located in the DV  directory of the 
  121. C: drive, change the path accordingly.)
  122.  
  123.      You may then wish to try the above procedure again, in case 
  124. a mistake was made.
  125.  
  126.              * * *   E N D   O F   F I L E    * * *
  127.